home *** CD-ROM | disk | FTP | other *** search
- global gCurMov, gTimer
-
- on exitFrame
- if (the ticks - gTimer) > (30 * 60) then
- puppetSound(2, the number of member "whistle sound")
- set gTimer to the ticks
- end if
- go(the frame)
- end
-
- on mouseDown
- if (mouseCast() = 115) or (mouseCast() = 116) then
- set orgloc to the loc of sprite the clickOn
- set newloc to the loc of sprite the clickOn + point(2, 2)
- repeat while the stillDown
- if rollOver(the clickOn) then
- puppetSprite(the clickOn, 1)
- set the loc of sprite the clickOn to newloc
- updateStage()
- next repeat
- end if
- set the loc of sprite the clickOn to orgloc
- puppetSprite(the clickOn, 0)
- updateStage()
- end repeat
- if rollOver(the clickOn) then
- case mouseCast() of
- 115:
- set gCurMov to the name of member 115
- 116:
- set gCurMov to the name of member 116
- end case
- puppetSprite(the clickOn, 0)
- go("animation sequence")
- end if
- end if
- end
-